package homeWorkk;

import java.util.Scanner;

public class work5 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入姓名");
        String name = sc.next();
        System.out.println("请输入年龄");
        String age = sc.next();
        System.out.println("请输入身高");
        String height = sc.next();
        System.out.println("请输入婚否");
        String marry = sc.next();
        System.out.println("请输入性别");
        String nannv = sc.next();
        int agee = Integer.valueOf(age);
        double heightt = Double.valueOf(height);
        boolean marryy = Boolean.valueOf(marry);
        char nannvv = nannv.charAt(0);
        Studentt student = new Studentt(name,agee,heightt,marryy,nannvv);
        System.out.println(student);


    }
}
